package com.yuanchu.order.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.yuanchu.common.validator.ValidationGroups;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @version: 1.0
 * @Author: adan
 * @description:
 * @date: 2024-03-02 3:24
 */
@Data
public class OrderRefundParamsDto {
    @NotNull(message = "订单售后ID不能为空", groups = ValidationGroups.Update.class)
    private Integer orderRefundId;
    private OrderRefundForm form;

    @Data
    public static class OrderRefundForm {
        @JsonProperty("audit_status")
        private Integer auditStatus;
        @JsonProperty("refuse_desc")
        private String refuseDesc;
        @JsonProperty("address_id")
        private Integer addressId;

        private Integer expressId;
        private String expressNo;

    }
}
